<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE>
<html>
<head>
<base href="<%=basePath%>">
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />

<link href="systemStyle/H-ui.css" rel="stylesheet" type="text/css" />
<link href="systemStyle/H-ui.admin.css" rel="stylesheet" type="text/css" />
<link href="plugin/font/font-awesome.min.css"  rel="stylesheet" type="text/css"	 />


<script type="text/javascript" src="http://libs.useso.com/js/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="systemJs/H-ui.js"></script>
<script type="text/javascript" src="systemJs/Validform_v5.3.2_min.js"></script>
<script type="text/javascript" src="systemJs/H-ui.admin.js"></script>
<script type="text/javascript" src="systemJs/aex_admin.js"></script>
<script type="text/javascript" src="plugin/layer/layer.min.js"></script>
<script type="text/javascript" src="plugin/layer/extend/layer.ext.js"></script>


</head>

<body>

	<nav class="Hui-breadcrumb">
		<i class="icon-home"></i> 首页 <span class="c-gray en">&gt;</span>
		 内容管理 <span class="c-gray en">&gt;</span>
		 <a href="manage/categoryManager_categoryList.do">小组管理</a><span>&gt;</span>
		 ${category.acName } <span class="c-gray en">&gt;</span>
		<a href="manage/medicinesManager_medicinesList.do?id=${category.acId}">药品列表</a> 
		<a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="icon-refresh"></i></a>
	</nav>
	
	
	<div class="pd-20">
		<div class="cl pd-5 bg-1 bk-gray">
			<span class="l">
				
				<a class="btn btn-danger radius"
				   href="javascript:;"
				   onclick="handleItems('manage/medicinesManager_deleteMediciness.do?jyy=1')">
				   <i class="icon-trash"></i>
				   	 批量删除
				</a> 
				<a class="btn btn-success radius"
				   href="manage/medicinesManager_goAddMedicines.do?id=${category.acId}"
				   >
				   <i class="icon-plus"></i>
				   	 添加药物
				</a> 
				<a class="btn btn-info radius"
				   href="javascript:;"
				   onclick="layer_show('500','500','调整药物排序','manage/medicinesManager_orderByMedicines.do?id=${category.acId}')">
				   <i class="icon-list-ol"></i>
				   	 调整排序
				</a> 
				
			</span> 
			<span class="r">共有数据：<strong>${pageBean.itemCount}</strong> 条	</span>
		</div>
		
		
		
		<table class="table table-border table-bordered table-hover table-bg">
		
			<thead>
				<tr>
					<th scope="col" colspan="18">药物列表</th>
				</tr>
				<tr class="text-c">
					<th><input type="checkbox" value="" name=""></th>
					<th>ID</th>
					<th>药物名称</th>
					<th>通用名称</th>
					<th>疗效</th>
					<th>安全度</th>
					<th>性价比</th>
					<th>关注度</th>
					<th>综合均值</th>
					<th width="170">操作</th>
				</tr>
			</thead>
			
			<tbody>
			
				<c:forEach var="item" items="${pageBean.objList }">
					<tr class="text-c">
						<td><input type="checkbox" value="${item.meId }" name=""></td>
						<td>${item.meId }</td>
						<td>${item.meName }</td>
						<td>${item.meAlias }</td>
						<td>${item.meEffect }</td>
						<td>${item.meSafety }</td>
						<td>${item.mePrice }</td>
						<td>${item.meAttention }</td>
						<td>${item.meAvg }</td>
						<td class="f-14">
							<a  style="text-decoration:none"
								title="编辑" 
								href="manage/medicinesManager_editorMedicines.do?id=${item.meId}&acId=${category.acId}"
								 >
								<i class="icon-edit ml-5"></i>
							</a> 
							<a  style="text-decoration:none"
								title="删除" 
								href="javascript:;"
								onclick="handleItem('manage/medicinesManager_deleteMedicines.do?id=${item.meId}')">
								<i class="icon-trash ml-5"></i>
							</a> 
						</td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
	</div>
	<jsp:include page="/systemPage/paginationAdmin.jsp"></jsp:include>
	<jsp:include page="/systemPage/footerAdmin.jsp"></jsp:include>

</body>
</html>
